$color-font-gray: #a1a1a1;
$color-label: #555;



.comp-ad-list{
    padding-bottom: 100px;
    %pop-background {
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0px 2px 8px 2px #f1f1f1;
    }
    .ad-list-table{
        min-height: 500px;
        .tr{
            .td, .th{
                &:nth-child(1){
                    padding-left: 50px;
                }
            }
        }
        >.thead{
            .tr{
                height: 60px;
                color:$color-font-gray;
                font-size: 12px;
            }
        }
        >.tbody{
            .tr{
                margin-bottom:16px ;
                height: 72px;
                line-height: 72px;
                border-radius: 6px;
                background-color: #fff;
                box-shadow: 1px 2px 8px #f1f1f1;
                &:hover{
                    background-color: #f8fafb;
                    cursor: pointer;
                }
                .td{
                    >.btn{
                        font-size: 15px;
                        color: #fff;
                        background-color: #1396ff;
                        border-radius: 4px;
                        height: 36px;
                        line-height: 36px;
                        text-align: center;
                        width: 100px;
                        display: inline-block;
                    }
                }
            }
        }
    }

    >.comp-pager {
        .pagination {
            >li.item {
                >a.item-link {
                    border-radius: 4px;
                    &:hover {
                        background-color: #e8e8e9;
                    }
                }
                &.active {
                    >a.item-link {
                        background-color: #e8e8e9;
                    }
                }
            }
        }
    }


}


.comp-sell-ad-list{
    .ad-list-table {
        .tr {
            .td, .th {
                &:nth-child(1) {
                    width: 280px;
                }
                &:nth-child(2) {
                    width: 250px;
                }
                &:nth-child(3) {
                    width: 250px;
                    color:#a1a1a1;
                }
                &:nth-child(4) {
                    width: 270px;
                    color:#a1a1a1;
                }
                &:nth-child(5) {
                    width: 120px;
                }
            }
        }
    }
}

.comp-buy-ad-list{
    .ad-list-table {
        .tr {
            .td, .th {
                &:nth-child(1) {
                    width: 280px;
                }
                &:nth-child(2) {
                    width: 160px;
                }
                &:nth-child(3) {
                    width: 200px;
                    color:#a1a1a1;
                }
                &:nth-child(4) {
                    width: 200px;
                    color:#a1a1a1;
                }
                &:nth-child(5) {
                    width: 360px;
                    max-height: 4.2em;
                    overflow: hidden;
                    text-overflow : ellipsis;
                }
            }
        }
    }
}